You are here: Building the Model: General Elements > Pre-defined Tank Subroutines > Tank_DoOperation > Description
Sets the state of the tank to Tank_Operation and waits for the specified operation time. ProModel sets the state to Tank_Blocked after the operation.
Use Tank_DoOperation when some activity or treatment time is necessary for the material in a tank.
Components
<Tank ID>
The tank name or location index number.
<Operation time>
The duration (in time units defined in the General Information dialog) of the operation.
Example
After technicians add all the necessary ingredients to the mixing tank, the tank requires a 20 minute mixing time. To define this operation, enter the following statement in the subroutine for the mixing activity:
Tank_DoOperation(MixingTank, 20)